#!/bin/sh

file="/home/nvidia/qc/QRelease/Bash/Guard.lock"
if [ -f "$file" ]; then
    rm $file
fi

guard=`ps aux | grep GuardAoYing | grep -v grep`
if [ "$guard" ]; then
    ps -ef | grep GuardAoYing | grep -v grep | awk '{print $2}' | xargs kill -9
fi

